package com.tech.cloudapp.model;


import lombok.Data;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


@Data
public class CommonRequestDO {

	private Header header;

	private HttpServletRequest request;

	private HttpServletResponse response;

	@Data
	public static class Header {

		private String serviceCode;

		private String sceneId;

		public static Header builder(String serviceCode,String sceneId)
		{
			Header header = new Header();
			header.setServiceCode(serviceCode);
			header.setSceneId(sceneId);
			return header;
		}
	}

}
